package com.cgc.venus.server.app.bean;

/**
 * Created by 业哥 on 2017/12/8.
 * 镜像端口
 */
public class ImagePortBean {
    // 主键
    private String id;
    // 所属镜像名称
    private String image;
    // 端口
    private int port;
    // 端口类型: 随机端口,指定端口
    private String portType;
    // 端口协议
    private String protocol;
    // 当类型为指定端口时,配置的端口
    private int nodePort;
    // 是否对外服务
    private boolean visible;
    // 创建时间
    private String createTime;
    // 最后更新时间
    private String lastUpdateTime;

    // 域名设置: 指定域名,动态生成
    private String domainNameType;
    // 域名设置
    private String domainName;

    // 服务名称类型
    private String serviceNameType;

    // 服务名称
    private String serviceName;

    // 服务空间
    private String namespace;

    // 应用名称
    private String appNameKube;

    // 应用的ingress名称
    private String ingressName;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getPortType() {
        return portType;
    }

    public void setPortType(String portType) {
        this.portType = portType;
    }

    public String getProtocol() {
        return protocol;
    }

    public void setProtocol(String protocol) {
        this.protocol = protocol;
    }

    public int getNodePort() {
        return nodePort;
    }

    public void setNodePort(int nodePort) {
        this.nodePort = nodePort;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(String lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }


    public boolean isVisible() {
        return visible;
    }

    public void setVisible(boolean visible) {
        this.visible = visible;
    }

    public String getDomainName() {
        return domainName;
    }

    public void setDomainName(String domainName) {
        this.domainName = domainName;
    }

    public String getDomainNameType() {
        return domainNameType;
    }

    public void setDomainNameType(String domainNameType) {
        this.domainNameType = domainNameType;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getNamespace() {
        return namespace;
    }

    public void setNamespace(String namespace) {
        this.namespace = namespace;
    }

    public String getAppNameKube() {
        return appNameKube;
    }

    public void setAppNameKube(String appNameKube) {
        this.appNameKube = appNameKube;
    }

    public String getServiceNameType() {
        return serviceNameType;
    }

    public void setServiceNameType(String serviceNameType) {
        this.serviceNameType = serviceNameType;
    }

    public String getIngressName() {
        return ingressName;
    }

    public void setIngressName(String ingressName) {
        this.ingressName = ingressName;
    }
}
